package com.ly.service.impl;

import com.ly.mapper.ProductsMapper;
import com.ly.pojo.Products;
import com.ly.service.ProductsService;
import org.checkerframework.checker.units.qual.A;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ProductsServiceImpl implements ProductsService {
    @Autowired
    private ProductsMapper productsMapper;

    public Products findProductsById(Integer id) {
        return productsMapper.selectById(id);
    }
}
